<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Dynamic Script</title>
    <link rel="preload" href="foo.js" as="script">
</head>
<body>
    <h1>Dynamic Script</h1>
    <button id="loadBtn">Load</button>
    <script src="app.js"></script>
</body>
</html>
